import Vue from 'vue'
import { getAction } from '@/api/manage'

const materialProcurementOrder = {
  state: {
    purchaseOrderDetailList: [],
  },

  mutations: {
    SET_PurchaseOrderDetailList: (state, para) => {
      state.purchaseOrderDetailList = para
    },
  },

  actions: {
    savePurchaseOrderDetailList({ commit }, para){
      commit('SET_PurchaseOrderDetailList', para)
    },
  }
}

export default materialProcurementOrder